return {
  "stevearc/conform.nvim",
  opts = function()
    local opts = {
      formatters_by_ft = {
        python = { "isort", "black" },
        lua = { "stylua" },
        cpp = { "clang-format" },
        c = { "clang-format" },
        json = { "fixjson", "prettier" },
        vue = { "prettier" },
        javascript = { "prettier" },
        typescript = { "prettier" },
        css = { "prettier" },
        scss = { "prettier" },
        html = { "prettier" },
      },
      formatters = {
        -- # Example of using dprint only when a dprint.json file is present
        -- dprint = {
        --   condition = function(ctx)
        --     return vim.fs.find({ "dprint.json" }, { path = ctx.filename, upward = true })[1]
        --   end,
        -- },
        --
        -- # Example of using shfmt with extra args
        -- shfmt = {
        --   prepend_args = { "-i", "2", "-ci" },
        -- },
        -- black = { prepend_args = { "--line-length", "200", "--skip-string-normalization" } },
      },
    }
    return opts
  end,
}
